import request from "@/request/index.js";

const auth = "auth"; //http://101.42.107.47:30019文档
const base = "base"; //http://101.42.107.47:30020文档
const zhpt = "zhpt"; //http://101.42.107.47:30018文档

//文本提取技术关键词
export const textToKeywordsApi = (data) => {
    return request({
        url: `/api/${zhpt}/algorithm/keyword`,
        method: "post",
        data,
    });
};
//文本提取产业链
export const textToIndustryApi = (data) => {
    return request({
        url: `/api/${zhpt}/algorithm/industry`,
        method: "post",
        data,
    });
};
//根据文本计算敏感词
export const textToSensitiveWordApi = (data) => {
    return request({
        url: `/api/${zhpt}/algorithm/sensitiveWord`,
        method: "post",
        data,
    });
};